# vPresent is an immersive presentation creation and display application.
# Copyright (C) 2007 by Infiscape Corporation
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

# -*- coding: utf-8 -*-

#      by: PyQt4 UI code generator 4.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_PanoramaBase(object):
   def setupUi(self, PanoramaBase):
      PanoramaBase.setObjectName("PanoramaBase")
      PanoramaBase.resize(QtCore.QSize(QtCore.QRect(0,0,500,94).size()).expandedTo(PanoramaBase.minimumSizeHint()))
      PanoramaBase.setMaximumSize(QtCore.QSize(16777215,241))

      self.gridlayout = QtGui.QGridLayout(PanoramaBase)
      self.gridlayout.setMargin(1)
      self.gridlayout.setSpacing(1)
      self.gridlayout.setObjectName("gridlayout")

      self.mPanoramaView = QtGui.QListView(PanoramaBase)

      sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
      sizePolicy.setHorizontalStretch(10)
      sizePolicy.setVerticalStretch(0)
      sizePolicy.setHeightForWidth(self.mPanoramaView.sizePolicy().hasHeightForWidth())
      self.mPanoramaView.setSizePolicy(sizePolicy)
      self.mPanoramaView.setDragDropMode(QtGui.QAbstractItemView.InternalMove)
      self.mPanoramaView.setIconSize(QtCore.QSize(64,64))
      self.mPanoramaView.setFlow(QtGui.QListView.LeftToRight)
      self.mPanoramaView.setUniformItemSizes(True)
      self.mPanoramaView.setObjectName("mPanoramaView")
      self.gridlayout.addWidget(self.mPanoramaView,0,0,3,1)

      self.mAddBtn = QtGui.QToolButton(PanoramaBase)
      self.mAddBtn.setIcon(QtGui.QIcon(":/vpresent/gui/images/plus.png"))
      self.mAddBtn.setObjectName("mAddBtn")
      self.gridlayout.addWidget(self.mAddBtn,0,1,1,1)

      self.mStartArcLbl = QtGui.QLabel(PanoramaBase)
      self.mStartArcLbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
      self.mStartArcLbl.setObjectName("mStartArcLbl")
      self.gridlayout.addWidget(self.mStartArcLbl,0,2,1,1)

      self.mStartArc = QtGui.QDoubleSpinBox(PanoramaBase)
      self.mStartArc.setMaximum(360.0)
      self.mStartArc.setSingleStep(5.0)
      self.mStartArc.setObjectName("mStartArc")
      self.gridlayout.addWidget(self.mStartArc,0,3,1,1)

      self.mPlaceholderDial = QtGui.QDial(PanoramaBase)
      self.mPlaceholderDial.setObjectName("mPlaceholderDial")
      self.gridlayout.addWidget(self.mPlaceholderDial,0,4,3,1)

      self.mRemoveBtn = QtGui.QToolButton(PanoramaBase)
      self.mRemoveBtn.setIcon(QtGui.QIcon(":/vpresent/gui/images/minus.png"))
      self.mRemoveBtn.setObjectName("mRemoveBtn")
      self.gridlayout.addWidget(self.mRemoveBtn,1,1,1,1)

      self.mEndArcLbl = QtGui.QLabel(PanoramaBase)
      self.mEndArcLbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
      self.mEndArcLbl.setObjectName("mEndArcLbl")
      self.gridlayout.addWidget(self.mEndArcLbl,1,2,1,1)

      self.mEndArc = QtGui.QDoubleSpinBox(PanoramaBase)
      self.mEndArc.setMaximum(360.0)
      self.mEndArc.setSingleStep(5.0)
      self.mEndArc.setProperty("value",QtCore.QVariant(180.0))
      self.mEndArc.setObjectName("mEndArc")
      self.gridlayout.addWidget(self.mEndArc,1,3,1,1)

      self.mNumSidesLbl = QtGui.QLabel(PanoramaBase)
      self.mNumSidesLbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
      self.mNumSidesLbl.setObjectName("mNumSidesLbl")
      self.gridlayout.addWidget(self.mNumSidesLbl,2,2,1,1)

      self.mNumSides = QtGui.QSpinBox(PanoramaBase)
      self.mNumSides.setMinimum(1)
      self.mNumSides.setMaximum(9999)
      self.mNumSides.setObjectName("mNumSides")
      self.gridlayout.addWidget(self.mNumSides,2,3,1,1)

      self.mEditBtn = QtGui.QToolButton(PanoramaBase)
      self.mEditBtn.setIcon(QtGui.QIcon(":/vpresent/gui/images/edit.png"))
      self.mEditBtn.setObjectName("mEditBtn")
      self.gridlayout.addWidget(self.mEditBtn,2,1,1,1)

      self.actionAddImageRef = QtGui.QAction(PanoramaBase)
      self.actionAddImageRef.setIcon(QtGui.QIcon(":/vpresent/gui/images/plus.png"))
      self.actionAddImageRef.setObjectName("actionAddImageRef")

      self.actionRemoveImageRef = QtGui.QAction(PanoramaBase)
      self.actionRemoveImageRef.setIcon(QtGui.QIcon(":/vpresent/gui/images/minus.png"))
      self.actionRemoveImageRef.setObjectName("actionRemoveImageRef")

      self.actionEditImageRef = QtGui.QAction(PanoramaBase)
      self.actionEditImageRef.setIcon(QtGui.QIcon(":/vpresent/gui/images/edit.png"))
      self.actionEditImageRef.setObjectName("actionEditImageRef")
      self.mStartArcLbl.setBuddy(self.mStartArc)
      self.mEndArcLbl.setBuddy(self.mEndArc)
      self.mNumSidesLbl.setBuddy(self.mNumSides)

      self.retranslateUi(PanoramaBase)
      QtCore.QMetaObject.connectSlotsByName(PanoramaBase)
      PanoramaBase.setTabOrder(self.mPanoramaView,self.mStartArc)
      PanoramaBase.setTabOrder(self.mStartArc,self.mEndArc)
      PanoramaBase.setTabOrder(self.mEndArc,self.mNumSides)
      PanoramaBase.setTabOrder(self.mNumSides,self.mPlaceholderDial)

   def retranslateUi(self, PanoramaBase):
      PanoramaBase.setWindowTitle(QtGui.QApplication.translate("PanoramaBase", "Edit Panorama", None, QtGui.QApplication.UnicodeUTF8))
      self.mAddBtn.setText(QtGui.QApplication.translate("PanoramaBase", "...", None, QtGui.QApplication.UnicodeUTF8))
      self.mStartArcLbl.setToolTip(QtGui.QApplication.translate("PanoramaBase", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
      "p, li { white-space: pre-wrap; }\n"
      "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
      "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Degree that the panorama arc starts at.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
      self.mStartArcLbl.setText(QtGui.QApplication.translate("PanoramaBase", "Start Arc:", None, QtGui.QApplication.UnicodeUTF8))
      self.mRemoveBtn.setText(QtGui.QApplication.translate("PanoramaBase", "...", None, QtGui.QApplication.UnicodeUTF8))
      self.mEndArcLbl.setToolTip(QtGui.QApplication.translate("PanoramaBase", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
      "p, li { white-space: pre-wrap; }\n"
      "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
      "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Degree that the panorama arc ends at.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
      self.mEndArcLbl.setText(QtGui.QApplication.translate("PanoramaBase", "End Arc:", None, QtGui.QApplication.UnicodeUTF8))
      self.mNumSidesLbl.setToolTip(QtGui.QApplication.translate("PanoramaBase", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
      "p, li { white-space: pre-wrap; }\n"
      "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
      "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">The number of sides per texture.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
      self.mNumSidesLbl.setText(QtGui.QApplication.translate("PanoramaBase", "# Sides:", None, QtGui.QApplication.UnicodeUTF8))
      self.mEditBtn.setText(QtGui.QApplication.translate("PanoramaBase", "...", None, QtGui.QApplication.UnicodeUTF8))
      self.actionAddImageRef.setText(QtGui.QApplication.translate("PanoramaBase", "Add Image Reference", None, QtGui.QApplication.UnicodeUTF8))
      self.actionAddImageRef.setShortcut(QtGui.QApplication.translate("PanoramaBase", "Ctrl+N", None, QtGui.QApplication.UnicodeUTF8))
      self.actionRemoveImageRef.setText(QtGui.QApplication.translate("PanoramaBase", "Remove Image Reference", None, QtGui.QApplication.UnicodeUTF8))
      self.actionRemoveImageRef.setShortcut(QtGui.QApplication.translate("PanoramaBase", "Del", None, QtGui.QApplication.UnicodeUTF8))
      self.actionEditImageRef.setText(QtGui.QApplication.translate("PanoramaBase", "Edit Image Reference", None, QtGui.QApplication.UnicodeUTF8))

import vpresent_rc


if __name__ == "__main__":
   import sys
   app = QtGui.QApplication(sys.argv)
   PanoramaBase = QtGui.QWidget()
   ui = Ui_PanoramaBase()
   ui.setupUi(PanoramaBase)
   PanoramaBase.show()
   sys.exit(app.exec_())
